import { applyMiddleware, createStore,combineReducers  } from "redux";
import countReducer from './reducers/count'
import personReducer from './reducers/person'
import { thunk } from "redux-thunk";

const allReducer = combineReducers({
    he:countReducer,
    rens:personReducer
})
const store = createStore(allReducer,applyMiddleware(thunk));

export default store;